/*
Template Name: Education Time
File: Layout CSS
Author: OS Templates
Author URI: http://www.os-templates.com/
Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>
*/

@import url(navi.css);
@import url(homepage.css);

body{
	margin:0;
	padding:0;
	font-size:13px;
	font-family:Georgia, "Times New Roman", Times, serif;
	color:#F8F8F2;
	}

img{margin:0; padding:0; border:none;}
.justify{text-align:justify;}
.bold{font-weight:bold;}
.center{text-align:center;}
.right{text-align:right;}
.nostart{list-style-type:none; margin:0; padding:0;}

.clear:after{content:"."; display:block; height:0; clear:both; visibility:hidden; line-height:0;}
.clear{display:inline-block;}
html[xmlns] .clear{display:block;}
* html .clear{height:1%;}

a{outline:none; text-decoration:none;}

.fl_left{float:right; padding:0px 10px 0px 10px;}
.fl_right{float:left; padding:0px 10px 0px 10px;}

.imgholder, .imgl, .imgr{padding:4px; border:1px solid #D7DBE0;}
.imgl{float:left; margin:0 15px 15px 0; clear:left;}
.imgr{float:right; margin:0 0 15px 15px; clear:right;}

/* ----------------------------------------------Wrapper-------------------------------------*/

div.wrapper{
	display:block;
	width:100%;
	text-align:left;
	}

div.wrapper h1, div.wrapper h2, div.wrapper h3, div.wrapper h4, div.wrapper h5, div.wrapper h6{
	margin:0 0 15px 0;
	padding:0;
	font-size:20px;
	font-weight:normal;
	line-height:normal;
	}

.row1{color:#5F8EC2; background-color:#03274B;}
.row1 a{color:#F8F9F3; background-color:#03274B;}
.row2{color:#F8F9F3; background-color:#072C53; border-top:1px solid #2B4D71; border-bottom:1px solid #2B4D71;}
.row3{color:#777777;}
.row4{color:#777777;}
.row5{padding:20px 0 30px 0; background-color:#03274B; border-top:1px solid #F8F9F3;}

/* ----------------------------------------------Generalise-------------------------------------*/

#header, #featured_slide, #container, #footer, #copyright{
	position:relative;
	margin:0 auto 0;
	display:block;
	width:960px;
	}

/* ----------------------------------------------Header-------------------------------------*/

#header{
	padding:10px 0 10px 0;
	}

#header h1, #header p, #header ul{
	margin:0;
	padding:25px 0px 0px 10px;
	list-style:none;
	line-height:normal;
	}

#header h1{font-size:40px; font-variant:small-caps;}

/* ----------------------------------------------Content-------------------------------------*/

#container{
	padding:15px 0;
	background:url(../images/footer_image.jpg) bottom  repeat-x #FFF;
	clear:both;
	}

#container h1, #container h2, #container h3, #container h4, #container h5, #container h6{
	color:#014079;
	padding:0px 10px 0px 10px;
	}

#container a{
	color:#00aeef;
	background-color:#F8F9F3;
	}
	#container a:hover{
	color:#e7bf00;
	background-color:#e9ebed;
	}

#container .title{
	display:block;
	width:100%;
	margin:0 0 10px 0;
	padding:0 0 8px 0;
	font-size:20px;
	text-transform:uppercase;
	border-bottom:2px solid #b0e8fd;
	}

#content{
	display:block;
	float:left;
	width:630px;
	}

/* ------Comments-----*/

#comments{margin-bottom:40px;}

#comments .commentlist{margin:0; padding:0;}

#comments .commentlist ul{margin:0; padding:0; list-style:none;}

#comments .commentlist li.comment_odd, #comments .commentlist li.comment_even{margin:0 0 10px 0; padding:15px; list-style:none;}

#comments .commentlist li.comment_odd{color:#666666; background-color:#F7F7F7;}
#comments .commentlist li.comment_odd a{color:#591F58; background-color:#F7F7F7;}

#comments .commentlist li.comment_even{color:#666666; background-color:#E8E8E8;}
#comments .commentlist li.comment_even a{color:#591F58; background-color:#E8E8E8;}

#comments .commentlist .author .name{font-weight:bold;}
#comments .commentlist .submitdate{font-size:smaller;}

#comments .commentlist p{margin:10px 5px 10px 0; padding:0; font-weight:normal; text-transform:none;}

#comments .commentlist li .avatar{float:right; border:1px solid #EEEEEE; margin:0 0 0 10px;}

/* ----------------------------------------------Column-------------------------------------*/

#column{
	display:block;
	float:right;
	width:300px;
	}

#column .holder, #column #featured{
	display:block;
	width:300px;
	margin-bottom:20px;
	}

#column .holder h2.title{
	display:block;
	width:100%;
	height:65px;
	margin:0;
	padding:15px 0 0 0;
	font-size:20px;
	text-transform:none;
	line-height:normal;
	border-bottom:1px dotted #999999;
	}

#column .holder h2.title img{
	float:left;
	margin:-15px 8px 0 0;
	padding:5px;
	border:1px solid #999999;
	}

#column div.imgholder{
	display:block;
	width:290px;
	margin:0 0 10px 0;
	}

#column .holder p.readmore{
	display:block;
	width:100%;
	font-weight:bold;
	text-align:right;
	line-height:normal;
	}

/* Featured Block */

#column #featured ul, #column #featured h2, #column #featured p{
	margin:0;
	padding:0;
	list-style:none;
	color:#666666;
	background-color:#F7F7F7;
	}

#column #featured a{
	color:#591F58;
	background-color:#F7F7F7;
	}

#column #featured li{
	display:block;
	width:250px;
	margin:0;
	padding:20px 25px;
	color:#666666;
	background-color:#F7F7F7;
	}

#column #featured li p.imgholder{
	display:block;
	width:240px;
	height:90px;
	margin:20px 0 15px 0;
	}

#column #featured li h2{
	margin:0;
	padding:0 0 8px 0;
	font-weight:normal;
	font-family:Georgia, "Times New Roman", Times, serif;
	line-height:normal;
	border-bottom:1px dotted #999999;
	}

#container #column .readmore a{
	display:block;
	width:100%;
	margin-top:15px;
	height:auto;
	padding-left:0;
	font-weight:bold;
	text-align:right;
	line-height:normal;
	background:none;
	}

#column .latestnews{
	display:block;
	width:100%;
	margin:0;
	padding:0;
	list-style:none;
	}

#column .latestnews li{
	display:block;
	width:100%;
	height:99px;
	margin:0 0 11px 0;
	padding:0 0 21px 0;
	border-bottom:1px dotted #C7C5C8;
	overflow:hidden;
	}

#column .latestnews li.last{
	margin-bottom:0;
	}

#column .latestnews p{
	display:inline;
	}

#column .latestnews img{
	float:left;
	margin:0 10px 0 0;
	padding:4px;
	border:1px solid #C7C5C8;
	clear:left;
	}

/* ----------------------------------------------Footer-------------------------------------*/

#footer{
	line-height:2em;
	background:url("../images/footer_bg.gif") 380px 0 repeat-y;
	}

#footer, #footer a{
	color:#F8F8F2;
	background-color:#03274B;
	}

#footer h2, #footer p, #footer ul, #footer a, #footer address{
	margin:0;
	padding:0;
	font-weight:normal;
	list-style:none;
	font-style:normal;
	}

#footer h2{
	margin:0 0 10px 0;
	padding:0;
	font-size:22px;
	color:#7F99A9;
	background-color:#03274B;
	}

#footer .foot_contact{
	display:block;
	float:left;
	width:380px;
	margin:0 0px 0 40px;
	padding:0;
	}

#footer .foot_contact address{
	margin-bottom:15px;
	}

#footer .footbox{
	display:block;
	float:left;
	width:250px;
	margin:0 15px 0 0;
	padding:0;
	font-size:12px;
	}

#footer .footbox h2{
	margin-bottom:10px;
	font-size:14px;
	text-transform:uppercase;
	}

#footer .last{
	margin:0;
	}

/* ----------------------------------------------Copyright-------------------------------------*/

#copyright{
	padding:15px 0;
	width:100%;
	border-top:1px solid #2B4D71;
	background-color:#03274B;
	}

#copyright p{
	margin:0;
	padding:0;
	}

#copyright, #copyright a{
	color:#7F99A9;
	background-color:#03274B;
	}
	
/*----------------------------*/
#main_wrapper{
	width:100%;
	margin:0px auto;
	background:url(../images/body-bg.jpg);
	
}
#featured_slide{
	padding-top:10px;
	}
.header_right{
	width:320px;
	margin:25px 0px 0px 0px;
	padding:0px 0px 0px 0px;
	float:right;
	color:#e7bf00;
	font-size:18px;
}
#slideshow {position:relative; height:400px; width:960px;	margin:0 auto; }
#slideshow IMG {
	position:absolute;
	top:0px;
	left:0;
	z-index:8;
	opacity:0.0;
	border-radius:4px 4px 4px 4px;
 -moz-border-radius:4px;
   -webkit-border-radius:4px;
   -khtml-border-radius:4px;
   -o-border-radius:4px;
}
#slideshow IMG.active {z-index:10; opacity:1.0;}
#slideshow IMG.last-active {z-index:9;}
.head_left{float:left;}
.padding{padding:10px 10px 10px 10px;}
.form_wrapper input[type="text"],
.form_wrapper input[type="password"]{
	border: solid 1px #E5E5E5;
	background: #FFFFFF;
	margin: 5px 30px 0px 25px;
	padding: 3px;
	display:block;
	font-size:16px;
	width:97%;
	background: 
		-webkit-gradient(
			linear,
			left top,
			left 25,
			from(#FFFFFF),
			color-stop(4%, #EEEEEE),
			to(#FFFFFF)
		);
	background: 
		-moz-linear-gradient(
			top,
			#FFFFFF,
			#EEEEEE 1px,
			#FFFFFF 25px
			);
	-moz-box-shadow: 0px 0px 8px #f0f0f0;
	-webkit-box-shadow: 0px 0px 8px #f0f0f0;
	box-shadow: 0px 0px 8px #f0f0f0;
}
.form_wrapper input[type="text"]:focus,
.form_wrapper input[type="password"]:focus{
	background:#feffef;
}
.form_wrapper textarea{
	border: solid 1px #E5E5E5;
	background: #FFFFFF;
	margin: 5px 30px 0px 25px;
	padding: 1px;
	display:block;
	height:50px;
	font-size:14px;
	width:99%;
	background: 
		-webkit-gradient(
			linear,
			left top,
			left 25,
			from(#FFFFFF),
			color-stop(4%, #EEEEEE),
			to(#FFFFFF)
		);
	background: 
		-moz-linear-gradient(
			top,
			#FFFFFF,
			#EEEEEE 1px,
			#FFFFFF 25px
			);
	-moz-box-shadow: 0px 0px 8px #f0f0f0;
	-webkit-box-shadow: 0px 0px 8px #f0f0f0;
	box-shadow: 0px 0px 8px #f0f0f0;
}
.label_grid{
	width:83%;
	float:left;
	color:#6e6d6d;
	font-size:14px;
	margin:10px 0px 0px 30px;
}
.label_grid_a{
	width:85%;
	float:left;
	margin:0px 0px 0px 0px;
}
.button{
  display: inline-block;
  display: inline;
  zoom: 1;
  padding:5px 12px;
  margin: 0;
  cursor: pointer;
  border: 1px solid #0665c4;
  overflow: visible;
  font: bold 13px arial, helvetica, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  color:#fff;
  background-color:#03274b;
  background-image: linear-gradient(top, rgba(255,255,255,1),
                                         rgba(255,255,255,0)),
                    url(data:image/png;base64,iVBORw0KGg[...]QmCC); 
  transition: background-color .2s ease-out;
  background-clip: padding-box; /* Fix bleeding */
  border-radius:4px;
 -moz-border-radius:4px;
   -webkit-border-radius:4px;
   -khtml-border-radius:4px;
   -o-border-radius:4px; 
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
              0 2px 2px -1px rgba(0, 0, 0, .5),
              0 1px 0 rgba(255, 255, 255, .3) inset;
  text-shadow: 0 1px 0 rgba(255,255,255, .9);  
}

.button:hover{
  border-radius:4px;
 -moz-border-radius:4px;
   -webkit-border-radius:4px;
   -khtml-border-radius:4px;
   -o-border-radius:4px; 
    background-color:#e7bf00;
  color:#03274b;
}


/* New Css */

a[data-fancybox="gallery"] img{
    width:150px;
    height:120px;
}
.gallery_images {
    width: 100%;
    margin:0 auto;
    background-color:#3498db;
}

.gallery_images a{
    text-align: left;
    display: inline-block;
     background-color:transparent !important;
}

.gallery_images img{
    margin:20px 20% !important;
    padding:10px auto !important;
}

.celebration{
    text-align: left;
    margin:10px 20px !important;
    padding:10px 20px !important;
    color:#fff !important;
}

.sports_meet{
    text-align: left;
    margin:10px 20px !important;
    padding:10px 20px !important;
    color:#fff !important;
}
.wrapper.row3 img {
    height: 300px;
}